/* 
 * File:   QImageDisplay.h
 * Author: matt
 *
 * Created on 16 May 2010, 19:46
 */

#ifndef _QIMAGEDISPLAY_H
#define	_QIMAGEDISPLAY_H
#include <QWidget>
#include <QLayout>
#include <QGridLayout>
#include <QPainter>

class QImageDisplay : public QWidget {
    Q_OBJECT
public:
    QImageDisplay();
    virtual ~QImageDisplay();
    void paintEvent(QPaintEvent *event);
public slots:
    void setImage(QImage passed_image);

private:
    QLayout *layout;
    QImage image;
};

#endif	/* _QIMAGEDISPLAY_H */

